package com.ioc.service;

import org.springframework.stereotype.Service;

@Service
public class UserService {
    public void update(Integer id) {
        try {
            Thread.sleep(3000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("UserService方法执行:" + id);
    }
}
